libxc: Introduce xc_domain_setvnuma to set vNUMA
authorElena Ufimtseva <ufimtseva@gmail.com>
Fri, 5 Sep 2014 09:02:22 +0000 (11:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Sep 2014 09:02:22 +0000 (11:02 +0200)
commite6b6884ec577a59281e4953f27a2376363012151
tree5d2b50b8095030ee1adba6c7c57694a260352a9e
parent40c7af684fc0bf89c7b643a5492b4abd920fba86
libxc: Introduce xc_domain_setvnuma to set vNUMA

With the introduction of the XEN_DOMCTL_setvnumainfo
in patch titled: "xen: vnuma topology and subop hypercalls"
we put in the plumbing here to use from the toolstack. The user
is allowed to call this multiple times if they wish so.
It will error out if the nr_vnodes or nr_vcpus is zero.

Signed-off-by: Elena Ufimtseva <ufimtseva@gmail.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_domain.c
tools/libxc/xenctrl.h